Skip to content

Conversation

@swolchok
Copy link
Contributor

@swolchok swolchok commented Feb 8, 2025

First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

Differential Revision: D80187441

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Feb 8, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8326

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 7f2ca6a with merge base 70ab5ab (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 8, 2025
swolchok added a commit that referenced this pull request Feb 8, 2025
First step of #8268.

ghstack-source-id: b29aa49
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
@swolchok swolchok marked this pull request as draft February 8, 2025 01:37
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Feb 9, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: 07b627b
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
@swolchok
Copy link
Contributor Author

Current error:

Buck-generated _custom_ops__srcs does not match hardcoded CUSTOM_OPS_SRCS
    in build_variables.bzl.  Left:
    extension/llm/custom_ops/op_fallback.cpp;extension/llm/custom_ops/op_fast_hadamard_transform.cpp;extension/llm/custom_ops/op_sdpa.cpp;extension/llm/custom_ops/op_update_cache.cpp;extension/llm/custom_ops/spinquant/fast_hadamard_transform.cpp;extension/llm/custom_ops/spinquant/third-party/FFHT/fht_avx.c;kernels/portable/cpu/util/reduce_util.cpp


     Right: extension/llm/custom_ops/op_fallback.cpp;extension/llm/custom_ops/op_fast_hadamard_transform.cpp;extension/llm/custom_ops/op_sdpa.cpp;extension/llm/custom_ops/op_update_cache.cpp;extension/llm/custom_ops/spinquant/fast_hadamard_transform.cpp;extension/llm/custom_ops/spinquant/third-party/FFHT/fht_neon.c;kernels/portable/cpu/util/reduce_util.cpp

So, we need a mechanism for choosing fht_avx.c on Intel and fht_neon.c on ARM. Best way is probably to add a CMake-native way to do this and filter these files out of the Buck-to-CMake pipeline.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@swolchok swolchok changed the base branch from main to gh/swolchok/243/head February 10, 2025 19:00
swolchok added a commit that referenced this pull request Feb 10, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: 91476c9
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
@swolchok swolchok added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label Feb 10, 2025
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Feb 10, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: b2ffb3b
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
@swolchok swolchok changed the title WIP: create build_variables.bzl create and validate build_variables.bzl Feb 10, 2025
@swolchok swolchok marked this pull request as ready for review February 10, 2025 20:54
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Feb 10, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: dc50258
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Feb 25, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: c4195ce
ghstack-comment-id: 2644414497
Pull Request resolved: #8326
Base automatically changed from gh/swolchok/243/head to main February 26, 2025 20:14
kedarnath03 pushed a commit to kedarnath03/executorch that referenced this pull request Jun 25, 2025
First step of #8268 -- we are moving from buck-extracted filelist to using one shared filelist, and the first step is to create the shared filelist and validate it against the buck generation.

ghstack-source-id: c4195ce
ghstack-comment-id: 2644414497
Pull Request resolved: pytorch/executorch#8326
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

@swolchok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@swolchok
Copy link
Contributor Author

@swolchok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@swolchok swolchok merged commit 52b45e2 into main Aug 13, 2025
104 of 106 checks passed
@swolchok swolchok deleted the gh/swolchok/240/head branch August 13, 2025 20:43
swolchok added a commit that referenced this pull request Aug 15, 2025
Making the structure in this file mirror buck's worldview more closely
when it makes sense. #8268
(Also piggybacked a fixup for a continue() I left for this target in
#8326.)
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
First step of pytorch#8268 -- we are moving from buck-extracted filelist to
using one shared filelist, and the first step is to create the shared
filelist and validate it against the buck generation.

Differential Revision:
[D80187441](https://our.internmc.facebook.com/intern/diff/D80187441)
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
Making the structure in this file mirror buck's worldview more closely
when it makes sense. pytorch#8268
(Also piggybacked a fixup for a continue() I left for this target in
pytorch#8326.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants